# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class OneClickAlarm(object):

    def __init__(self, alarmId=None, alarmOptions=None, createTime=None, description=None, enabled=None, indeed=None, serviceCode=None, serviceName=None, updateTime=None):
        """
        :param alarmId: (Optional) 一键报警规则ID
        :param alarmOptions: (Optional) 一键告警规则配置
in: body
        :param createTime: (Optional) 创建时间
        :param description: (Optional) 描述
        :param enabled: (Optional) 是否开启, 1表示打开，0表示关闭
        :param indeed: (Optional) 是否由系统规则刚刚创建的，0代表是刚刚创建的，1代表由用户操作过的
        :param serviceCode: (Optional) 产品线标识
        :param serviceName: (Optional) 产品线名称
        :param updateTime: (Optional) 更新时间
        """

        self.alarmId = alarmId
        self.alarmOptions = alarmOptions
        self.createTime = createTime
        self.description = description
        self.enabled = enabled
        self.indeed = indeed
        self.serviceCode = serviceCode
        self.serviceName = serviceName
        self.updateTime = updateTime
